package com.tianda.rbac_demo.mapper;

import com.tianda.rbac_demo.domain.Admin;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.tianda.rbac_demo.domain.MenuVO;

import java.util.List;

/**
* @author jinken
* @description 针对表【t_admin】的数据库操作Mapper
* @createDate 2025-09-10 13:31:55
* @Entity com.tianda.rbac_demo.domain.Admin
*/
public interface AdminMapper extends BaseMapper<Admin> {
    /**
     * 根据当前用户名称查询 菜单（权限）集合
     * @param username
     * @return
     */
    List<MenuVO> selectMenuByAdmin(String username);




}




